package com.cloudRestudy.payment.constans;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author liubinyuan
 * @Title:
 * @Package
 * @Description: ConfigurationProperties 读取nacos配置中心中的配置文件
 * @date 2021/12/1716:49
 */
@Data
@Configuration
@ConfigurationProperties(prefix="test")
public class TestConstans {
    private String id;
    private String name;
    private String age;
}
